package com.hmall.api.config;

import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2025/3/7 0:07
 */
// 开启OpenFeign的功能，精准扫描Feign客户端，不推荐
//@EnableFeignClients(clients = ItemClient.class)

// 开启OpenFeign的功能，扫描Feign clients客户端所在包，推荐，并且可以指定Feign的全局配置，如配置日志级别
@EnableFeignClients(basePackages = "com.hmall.api.clients",defaultConfiguration = DefaultFeignConfig.class)
public class ApiAutoConfiguration {
}
